package main

import (
	"fmt"

	"gitee.com/baihr/go-design-pattern/factorymethod/impl"
)

func main() {
	footballFactory := impl.NewFootballFactory()
	footballShoe := footballFactory.Make()
	fmt.Printf("football category is: %s\n", footballShoe.GetCategory())

	basketballFactory := impl.NewBasketballFactory()
	basketballShoe := basketballFactory.Make()
	fmt.Printf("basketball category is: %s\n", basketballShoe.GetCategory())
}
